home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
EDITOR
/
AMAC44.ARJ
/
COMT21.QM
< prev
next >
Wrap
Text File
|
1992-06-22
|
8KB
|
174 lines
* COMT21.QM
* Commenting/Uncommenting Macros
* Written by Tom Hogshead
* With Macro Contributions by John Goodman, et al
* 6/22/92
* Key Subfile Description
* ===== =============== ===============================================
* Subfiles...
* {e:\up\com001} Macros to Center and Remove Centered Comments ( )
* {e:\up\com002} Macros to Make Title Boxes
* {e:\up\com003} Miscellaneous Commenting Macros
* {e:\up\com004} Macros to Comment and Un-Comment
* {e:\up\Com005} Macros to Append Eol Date Markers '*:dd'
*
* Macros in Subfiles...
* -------- Macros to Center and Remove Centered Comments --------*
* Center Macro Comment * -- Comment --*
* @5 {e:\up\com001} - First Character in Col 5 |new
* @4 {e:\up\com001} - First Character in Col 1
* @8 {e:\up\com001} Convert @4 Comments to @5 Comments |new
* @7 {e:\up\com001} Remove Macro Comment * -- <Comment> --*
* @3 {e:\up\rfr003} Formats Commented or Uncommented Paragraph,
* Leaves Paragraph in Original Commented
* or Uncommented State
* @4 {e:\up\rfr003} Formats Commented or Uncommented Paragraph,
* Leaves Commented Paragraph Uncommented,
* and Vice Versa
*
* ------------------ Macros to Make Title Boxes ------------------*
* @5 {e:\up\com002} Make Macro Title Box
* @6 {e:\up\com002} Copy Macro Title To Index
* @9 {e:\up\com002} Remove Macro Title Box
*
* --------------- Miscellaneous Commenting Macros ---------------*
* @1 {e:\up\com003} Fill 3 Character Wide Column Block With ","
* @4 {e:\up\com003} Insert Prompted Text Into Each Column Block Line
* @8 {e:\up\com003} Insert Text at Beginning of Lines
* @9 {e:\up\com003} Comment Or Un-comment With '*»' in Col 1,
*» (like this)
*
* @0 {e:\up\com003} Comment or Un-comment With '*--' in Col 1,
*-- (like this)
*
* @f1 {e:\up\com003} Comment Non-macro Portion of File
* @f3 {e:\up\com003} Comment Paragraph or Block
* @f4 {e:\up\com003} Comment File
* @f5 {e:\up\com003} Un-Comment File
* @f9 {e:\up\com003} Builds a "Comment Box" for C Programmers
* @f10 {e:\up\com003} Center C Program Comment
*
* #F4__ {e:\up\com003} Surround Column-Blocked Text With Box of Char's
* ********
* Box Drawn *Around* Outside Border
* ********
* Of Column Block, Juxtapose Text
* @F4 {e:\up\com003} Erase Outside Border Of Column-Blocked Text
* ^F7_ {e:\up\com003} Prepend/Delete Prompted Text To Lines
* #F7__ {e:\up\com003} Prepend/Delete Prompted Text To Lines (Init find)
* @F7 {e:\up\com003} Insert Text At Beginning Of All Blocked Lines
* @F8 {e:\up\com003} Put Colon in Front of Batch File "Rem" Lines
*
* --------------- Macros to Comment and Un-Comment --------------*
* @4 {e:\up\com003} Preserve Indention |new
* @3 {e:\up\com003} Preserve Juxtaposition, Stars Lft of First Char |new
* @2 {e:\up\com003} Preserve Juxtaposition, Stars in Col 1 |new
* @5 {e:\up\com003} Shifts Lines, Stars in Col 1 |new
* @1 {e:\up\com003} Shifts Lines, Stars in Col 1 (v2.10 only)
*
* ----------- Macros to Append Eol Date Markers '*:dd' -----------*
* @1 {e:\up\Com005} Insert Eol Date Marker '*:dd' ( ) |new
* @2 {e:\up\Com005} Find and Pause to Delete Next Eol Marker |new
* @3 {e:\up\Com005} Find and Date/Un-date Next Eol Marker |new
* @4 {e:\up\Com005} Convert '*|' to '*;' Markers |new
*
*--
* @h Jump From Index Line To Item or Macro in File Below
*
* Index - How to locate macro or item below from Index using @h
* Description
* Startup
* Macros
* Other Macros
* Version History
*
*-- eoi
* (Description)
* --------------
* COMT21.QM contains macros to comment and un-comment lines, blocks,
* paragraphs, macros, C programs, and dBase lines. Also has macros to
* insert and delete text at beginning of lines or blocks, macro to
* speed up batch file running, and macro to make and remove boxes with
* any desired border surrounding text. Macros to insert commented eol
* date markers
* (Index) Use
* ------------
* To locate a macro or item in this file, press @h, place the cursor
* line on the desired item in the Index above, and press <enter>. See
* BOOKxx.QM for more details.
* (STARTUP)
* ----------
* To BEGIN, just type "START COMT" <Enter>. All pertinent files will
* be loaded in the "Ring" for viewing, and COMT21.MAC is read.
* Alternatively, type "START COMT 0" <Enter> and the disk copies of all
* files in the "Ring" will be loaded ready for editing, saving time.
* These macros require "QEdit and QMAC v2.1, February, 1990" or later.
* Some macros require QEdit v2.15. For (other) macros, see ALLMACRO.INF.
* (MACROS)
* ---------
* See subfiles 'com00n.qm' for macros. Use @f in BOOKxx.QM to access
* macros.
*
* ----------------------------------------------------------------------
* @(h) Jump From Index Line To (Locate) Macro or Item in Document Below
* ----------------------------------------------------------------------
* Alt_h can be used to quickly jump from Index Line to the desired
* item or macro in the document below:
* 1. Press Alt and h at the same time. Line 1 is marked to
* highlight. Cursor down to desired line in Index.
* 2. Press Enter. The macro then locates and jumps to the item
* selected on the cursor line in the document below.
* See BOOKxx.Qm and JMPPOSxx.QM in AMACxx.ZIP for more discussion about
* using bookmarks and positions markers ( ) to jump to positions in
* files.
@h MacroBegin UnmarkBlock DefaultWordSet BegFile MarkLine
MarkLine Pause WordRight MarkWord Copy EndPara
MakeCtrOfScreen Find "(" Paste ")" Return "I" Return JFalse
Label0: BegLine Jump Label1: Label0: BegFile Label1:
*
* 33 bytes Wed 07-10-1991 10:11:24 (TH @1 in BOOKxx.QM)
* (Version) History
* ------------------
* 1.8 - Modified @5 in com002.qm for all qconfig's. 12/11/91
* - In AMAC42.ZIP. 3/28/92
* 1.9 - Modified @5/6/9 in com002.qm for v2.15. 4/22/92
* - In AMAC42E.ZIP. 4/26/92
* 2.0 - Modified @4 and @7 in com001.qm. 5/4/92
* - Changed @5 and @6 in com002.qm. 5/4/92
* - Added @4 in com003.qm. 5/4/92
* - Removed @2 and @3 from com003.qm. 5/5/92
* - Removed @3/5/8 ^f5, #f5 from com001.qm. 5/5/92
* - Modified @4 com003.qm. 5/13/92
* - In Amac43.zip. 5/27/92
* 2.0a - Added ( ) to Index line 1 for bok001.qm macros. 5/30/92
* 2.1 - Added @5 and @8 in com001.qm. 6/8/92
* - Changed ^cursordown to @9 in com001.qm. 6/9/92
* - Added @0 in com001.qm. 6/9/92
* - Changed all @#^ f3 keys to f5 keys in com001.qm. 6/9/92
* - Moved macros from com001.qm to com004.qm. 6/9/92
* - Changed keys in com001.qm and com004.qm. 6/9/92
* - Added @2/3/4/5 in com004.qm. 6/16/92
* - Moved macros from com004.qm to com003.qm. 6/22/92
*
*
*
*
*
*
*
*-- eof